package net.lab1024.sa.admin.module.business.school.floor.domain.form;

import io.swagger.v3.oas.annotations.media.Schema;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * 楼层 更新表单
 *
 * @Author ZouYang
 * @Date 2024-12-28 12:10:44
 * @Copyright ZouYang
 */

@Data
public class FloorUpdateForm {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "id 不能为空")
    private Long   id;

    @Schema(description = "宿舍楼ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "宿舍楼ID 不能为空")
    private Long   dormitoryId;

    @Schema(description = "楼层名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "楼层名称 不能为空")
    private String name;

}
